package com.EE7th.service;

import com.EE7th.Result.PageResult;
import com.EE7th.domain.Clazz;
import com.EE7th.dto.PageQueryDTO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ClazzService {
    Boolean insertClazz(Clazz clazz);

    Clazz selectById(int clazzId);

    PageResult pageQuery(PageQueryDTO pageQueryDTO);

    List<Clazz> getClazzSelection();
}